package com.chai.service.impl;

import com.chai.dao.LogDao;
import com.chai.service.LogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Service;

@Service
public class LogServiceImpl implements LogService {
    @Autowired
    private LogDao logDao;

    public void log(int inId, int outId, double money) {
        String info=inId+"转账给"+outId+"共"+money+"元";
        logDao.log(info);
    }
}
